<?php
session_start();
include 'config.php';
include 'modules/funkcije.php';
include 'modules/db.php';
include 'modules/user/user.class.php';
include 'modules/pdf.php';

// Singleton
$db = new db("mysql:host=".$config['db']['host'].";dbname=".$config['db']['name'], $config['db']['user'], $config['db']['pass']);
$user = new User($db);